package spring.framework.beans.factory;

import spring.framework.beans.BeansException;

/**
 * @author fun.pengzh
 * @class spring.framework.beans.factory.BeanFactory
 * @desc  Bean工厂
 * @since 2021-10-10
 */
public interface BeanFactory {

    Object getBean(String beanName) throws BeansException;

    Object getBean(String beanName,Object... args) throws BeansException;

    <T> T getBean(String beanName,Class<T> requiredType) throws BeansException;

}
